<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<script type="text/javascript" src="https://res.wx.qq.com/open/js/jweixin-1.6.0.js"></script>
		<style>
			.splash{
			  	display: block;
			  	width: 80vw;
			  	margin: auto;
			  	margin-top: 26.6vw;
			}
			.weui-loading {
			  margin: 0 5px;
			  width: 6vw;
			  height: 6vw;
			  display: inline-block;
			  vertical-align: middle;
			  -webkit-animation: weuiLoading 1s steps(12, end) infinite;
			  animation: weuiLoading 1s steps(12, end) infinite;
			  background: transparent url() no-repeat;
			  background-size: 100%;
			}
			@-webkit-keyframes weuiLoading {
			  0% {
			    -webkit-transform: rotate3d(0, 0, 1, 0deg);
			    transform: rotate3d(0, 0, 1, 0deg);
			  }
			
			  100% {
			    -webkit-transform: rotate3d(0, 0, 1, 360deg);
			    transform: rotate3d(0, 0, 1, 360deg);
			  }
			}
			
			@keyframes weuiLoading {
			  0% {
			    -webkit-transform: rotate3d(0, 0, 1, 0deg);
			    transform: rotate3d(0, 0, 1, 0deg);
			  }
			
			  100% {
			    -webkit-transform: rotate3d(0, 0, 1, 360deg);
			    transform: rotate3d(0, 0, 1, 360deg);
			  }
			}
			.div{
				position: absolute;
				bottom:18.6vw;
				left: 0;
				right: 0;
				display: flex;
				align-items: center;
				justify-content: center;
			}
		</style>
	</head>
	<body>
		<img src="../../img/splash.png" class="splash"></img>
		<div class="div">
			<div class="weui-loading" ></div>
		</div>
	</body>
	<script>
		// 获取健康生活公众号code
		var appid="wxbb1234ec8b5dd78b";
		var params = location.search.replace(/&/g,"___");
		var httpUrl=encodeURI("https://cdadmin.landdt.cn/h5/pay/pages/wxApplet_login/code.html" + params);
		let url="https://open.weixin.qq.com/connect/oauth2/authorize?appid="+appid+"&redirect_uri="+httpUrl+"&response_type=code&scope=snsapi_base&state&connect_redirect=1#wechat_redirect";
		location.replace(url);
	</script>
</html>